import Vue from 'vue'
import App from './App'

import uView from 'uview-ui'
Vue.use(uView)
uni.$u.config.unit = 'rpx'

import store from '@/store'
const vuexStore = require('@/store/$u.mixin.js')
Vue.mixin(vuexStore)

Vue.config.productionTip = false
// 锁定屏幕方向
// plus.screen.lockOrientation('portrait-primary'); //锁定

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})

import httpInterceptor from '@/utils/request.js'
Vue.use(httpInterceptor, app)

app.$mount()

